package com.hfzy.ihk.web.freeswitchManage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hfzy.ihk.facade.freeswitchManage.entity.NumResource;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author czs
 * @since 2019-06-24
 */
public interface CopShowNumMapper extends BaseMapper<NumResource> {

    @Select("select * from num_resource where state=1 and source=#{source}")
    List<NumResource> getAllShowNumBySource(@Param("source") String source);

}
